@echo off
REM 写入 Vue 模板到 BasicConfig.vue
echo ^<script setup lang="ts"^> > BasicConfig.vue
echo import { useRoute } from "vue-router"; >> BasicConfig.vue
echo const route = useRoute(); >> BasicConfig.vue
echo ^</script^> >> BasicConfig.vue
echo. >> BasicConfig.vue
echo ^<template^> >> BasicConfig.vue
echo   {{ route.query }} >> BasicConfig.vue
echo ^</template^> >> BasicConfig.vue
echo. >> BasicConfig.vue
echo ^<style scoped^> >> BasicConfig.vue
echo ^</style^> >> BasicConfig.vue
echo ✅ BasicConfig.vue 已创建！
pause